V8LIBPATH=/home/atreus/repos/v8/v8/libv8.a
V8INCLUDEPATH=/home/atreus/repos/v8/v8/include
CCFLAGS=-lpthread  -m32

default: run

build: jsmapper.cc
	g++ -I$(V8INCLUDEPATH) jsmapper.cc $(V8LIBPATH) $(CCFLAGS) -o jsmapper

run: build
	./jsmapper global-state-test.js

clean:
	rm jsmapper

